<h2>Salesorder 列表</h2>
<a href="/sales/salesorder/add">新增</a>
<table border="1">
<tr><th>ID</th><th>操作</th></tr>
<?php foreach($items as $item): ?>
<tr>
<td><?= $item['id'] ?></td>
<td>
<a href="/sales/salesorder/edit/<?= $item['id'] ?>">编辑</a>
<a href="/sales/salesorder/delete/<?= $item['id'] ?>" onclick="return confirm('确定删除?')">删除</a>
</td>
</tr>
<?php endforeach; ?>
</table>
